package org.zfes.snowier.cloud.zbss.cms.content.service;

import java.util.List;
import java.util.Map;
import java.util.Optional;
import org.zfes.snowier.core.data.DataSet;
import org.zfes.snowier.cloud.zbss.cms.content.model.CmsContentGroupView;
public interface ICmsContentGroupViewService{

	 Optional<CmsContentGroupView> loadCmsContentGroupViewById(Long id);
	
	 Optional<CmsContentGroupView> loadCmsContentGroupViewByContentId(Long contentId);
	 
	 void createCmsContentGroupView(CmsContentGroupView cmsContentGroupView);
	 
	 void createCmsContentGroupViewBatch(List<CmsContentGroupView> cmsContentGroupViewList);
	
	 void updateCmsContentGroupView(CmsContentGroupView cmsContentGroupView);

	 void deleteCmsContentGroupView(Long id);
	 
	 void deleteCmsContentGroupViewByContentId(Long contentId);
	
	 DataSet loadCmsContentGroupViewDataSet(Map<String, Object> params);
	 

 	void setCmsContentGroupViewStatus(Long id, Byte status);
}